package com.chungechunyemen.post.po;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Postbar entity. @author MyEclipse Persistence Tools
 */

public class Postbar implements java.io.Serializable {

	// Fields

	private Integer postbarId;
	private String subject;
	private Timestamp createTime;
	private Set topics = new HashSet(0);

	// Constructors

	/** default constructor */
	public Postbar() {
	}

	/** minimal constructor */
	public Postbar(String subject) {
		this.subject = subject;
	}

	/** full constructor */
	public Postbar(String subject, Timestamp createTime, Set topics) {
		this.subject = subject;
		this.createTime = createTime;
		this.topics = topics;
	}

	// Property accessors

	public Integer getPostbarId() {
		return this.postbarId;
	}

	public void setPostbarId(Integer postbarId) {
		this.postbarId = postbarId;
	}

	public String getSubject() {
		return this.subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Set getTopics() {
		return this.topics;
	}

	public void setTopics(Set topics) {
		this.topics = topics;
	}

}